
	
/****** Object:  Stored Procedure [dbo].UsersUpdate    Script Date: Monday, July 27, 2009 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spUsersUpdate]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[spUsersUpdate]
GO
			
	
	

	
/******************************************************************************
**		File: 
**		Name: [dbo].spUsersUpdate
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 7/27/2009 4:18:21 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [dbo].spUsersUpdate
	@UserId int, 
	@Email nvarchar(50), 
	@Cash int, 
	@CreationDate datetime, 
	@LastLogin datetime 
AS

UPDATE [dbo].[Users] SET
	[Email] = @Email,
	[Cash] = @Cash,
	[CreationDate] = @CreationDate,
	[LastLogin] = @LastLogin
WHERE
	[UserId] = @UserId

GO

